#!/usr/bin/env bash

#/usr/local/u-mail/app/engine/bin/django-admin startproject EDM
#cd EDM
#/usr/local/u-mail/app/engine/bin/python manage.py startapp core


#/usr/local/u-mail/app/engine/bin/python2.7 manage.py runserver 0:2020
#python manage.py runserver 0:2020

git pull

echo '/root/email-delivery-marketing/supervisord.sh restart'
/root/email-delivery-marketing/supervisord.sh restart
sleep 3
/root/email-delivery-marketing/supervisord.sh status

/usr/bin/tail -f /root/email-delivery-marketing/edm-task.log
